-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide popovers when making an element fullscreen #204
Conversation
This is part of the new pop-up attribute: whatwg/html#8221
Co-authored-by: Anne van Kesteren <[email protected]>
Co-authored-by: Anne van Kesteren <[email protected]>
These dfns need to be exported in order to be used in the fullscreen spec: whatwg/fullscreen#204
This was requested for cross referencing instead of "hide all popovers until" here: whatwg/fullscreen#204 (comment) This patch also fixes a bug where a null endpoint is passed to hide all popovers until, but hide all popovers until assumes endpoint is not null by looking for endpoint's node document. The bug is fixed by adding a required document parameter to hide all popovers until.
These dfns need to be exported in order to be used in the fullscreen spec: whatwg/fullscreen#204
This also fixes a bug where a null endpoint is passed to hide all popovers until, but hide all popovers until assumes endpoint is not null by looking for endpoint's node document. The bug is fixed by letting hide all popovers until take a document. And it also exports some definitions for Fullscreen. Corresponding Fullscreen PR: whatwg/fullscreen#204.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me now, just one remaining issue.
@josepharhar can you chase down Gecko and WebKit support for this change, and link to implementation bugs? |
Co-authored-by: Philip Jägenstedt <[email protected]>
@nt1m if I'm reading WebKit/WebKit#11155 correctly, you implemented this behavior in If that PR matches this spec, can we consider that support from WebKit to make this change? I'd like to get it merged because it makes #223 easier to understand, in particular it guarantees (in the spec) that certain combinations of fullscreen and popovers can't happen. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems okay. I'll ping @nt1m again as well.
I think our implementation matches this PR, the |
This is part of the new popover attribute: whatwg/html#8221
Preview | Diff